package main

import (
	"fmt"
	"time"
)

func main() {
	t, err := time.Parse("15:04", "10:56")
	if err != nil {
		panic(err)
	}
	fmt.Println(t)
	//fmt.Println(t.Minute())
	fmt.Println(t.Hour()*60 + t.Minute())
	fmt.Println(10*60 + 56)
}
